<?php

include("../inc/Function_user.php");
upower();
$id = isset($_GET['id'])?intval($_GET['id']):0;
$info = userinfo();
$menu = menulist();
$ninfo = newsinfo($id,$info['Id']);
$tpl->assign("ninfo",$ninfo);
$tpl->assign("info",$info);
$tpl->assign("menu",$menu);
$tpl->show("newsedit");
?>